Skip to content

Conversation

@pedrobaeza
Copy link
Member

  • Revert "[FIX] openupgrade_framework: manipulate versions to actually run scripts"

  • event_product: Adapt to run it always

    @openupgrade.migrate decorator avoids to execute the script if version is none. As we have reverted the openupgrade_framework patch that modifies the version, we avoid the side effect and get this script working removing the decorator.

@pedrobaeza pedrobaeza added this to the 18.0 milestone Jul 4, 2025
@OCA-git-bot
Copy link
Contributor

Hi @hbrunn, @StefanRijnhart, @legalsylvain,
some modules you are maintaining are being modified, check this out!

`@openupgrade.migrate` decorator avoids to execute the script if
version is none. As we have reverted the openupgrade_framework patch
that modifies the version, we avoid the side effect and get this
script working removing the decorator.
@pedrobaeza pedrobaeza force-pushed the 18.0-fix-framework-version branch from e7c8be7 to ba949be Compare July 4, 2025 15:00
@pedrobaeza
Copy link
Member Author

And that's it! Migration scripts are still being executed for the split module: https://github.com/OCA/OpenUpgrade/actions/runs/16076314034/job/45372272328?pr=5151#step:13:2683

@hparfr can you try with your case if the error is gone?

@hparfr
Copy link

hparfr commented Jul 7, 2025

Thanks @pedrobaeza !

  • the migration pass !
  • account_edi_ubl_cii is installed during the migration

@pedrobaeza pedrobaeza merged commit e38d67e into OCA:18.0 Jul 7, 2025
4 checks passed
@pedrobaeza pedrobaeza deleted the 18.0-fix-framework-version branch July 7, 2025 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants